import request from '@/utils/request'
// 获取例表数据
export function layoutAxios() {
  return request({
    url: '/truckType/simple'
  })
}
// 获取车型管理分页数据
export function paging(id) {
  return request({
    url: `/truckType/${id}`,
    method: 'delete'
  })
}
// 添加车型
export function addition(data) {
  return request({
    url: '/truckType',
    method: 'post',
    data
  })
}
// 搜索查询
export function search(params) {
  return request({
    uel: '/truckType/page',
    params
  })
}
